$(document).ready ( function () {


	var data = {zhang:[
		{
			num: "序言",
			name: "",
			link: "../hot.html",
			jie: [
				{num:"1、", name:"客语简介", link:"textbook/0.1.html"},
				{num:"2、", name:"编写说明", link:"textbook/0.2.html"},
				{num:"3、", name:"人物介绍", link:"textbook/0.3.html"}
			]
		},
		{
			num: "第一单元",
			name: "语音知识",
			link: "1.0.html",
			jie: [
				{num:"1、", name:"元音", link:"textbook/1.1.html"},
				{num:"2、", name:"声调", link:"textbook/1.2.html"},
				{num:"3、", name:"辅音——唇音", link:"textbook/1.3.html"},
				{num:"4、", name:"辅音——舌尖中音", link:"textbook/1.4.html"},
				{num:"5、", name:"辅音——舌尖前音", link:"textbook/1.5.html"},
				{num:"6、", name:"辅音——舌根音", link:"textbook/1.6.html"},
				{num:"7、", name:"辅音——舌叶音、舌面中音", link:"textbook/1.7.html"},
				{num:"8、", name:"客语拼音结构", link:"textbook/1.8.html"},
				{num:"9、", name:"单元复习：寒暄，天气", link:"textbook/1.9.html"}
			]
		},
		{
			num: "第二单元",
			name: "日常生活篇",
			link: "2.0.html",
			jie: [
				{num:"1、", name:"初次见面", link:"textbook/2.1.html"},
				{num:"2、", name:"寒暄问好", link:"textbook/2.2.html"},
				{num:"3、", name:"寻物问路", link:"textbook/2.3.html"},
				{num:"4、", name:"购物点餐", link:"textbook/2.4.html"},
				{num:"5、", name:"生病求医", link:"textbook/2.5.html"}
			]
		},
		{
			num: "第三单元",
			name: "日常生活篇",
			link: "3.0.html",
			jie: [
				{num:"1、", name:"外貌衣着", link:"textbook/3.1.html"},
				{num:"2、", name:"家庭成员", link:"textbook/3.2.html"},
				{num:"3、", name:"礼貌用语", link:"textbook/3.3.html"},
				{num:"4、", name:"娱乐活动", link:"textbook/3.4.html"},
				{num:"5、", name:"自然风光", link:"textbook/3.5.html"}
			]
		},
		{
			num: "第四单元",
			name: "日常生活篇",
			link: "4.0.html",
			jie: [
				{num:"1、", name:"校园生活", link:"textbook/4.1.html"},
				{num:"2、", name:"百家姓氏", link:"textbook/4.2.html"},
				{num:"3、", name:"古诗古词", link:"textbook/4.3.html"},
				{num:"4、", name:"职场用语", link:"textbook/4.4.html"}
			]
		},
		{
			num: "第五单元",
			name: "客家风情篇",
			link: "5.0.html",
			jie: [
				{num:"1、", name:"传统节日", link:"textbook/5.1.html"},
				{num:"2、", name:"童谣儿歌", link:"textbook/5.2.html"},
				{num:"3、", name:"童话故事", link:"textbook/5.3.html"},
				{num:"4、", name:"民间故事", link:"textbook/5.4.html"},
				{num:"5、", name:"美味佳肴", link:"textbook/5.5.html"}
			]
		},
		{
			num: "第六单元",
			name: "客家风情篇",
			link: "6.0.html",
			jie: [
				{num:"1、", name:"客家风情篇", link:"textbook/6.1.html"},
				{num:"2、", name:"港澳台之旅", link:"textbook/6.2.html"},
				{num:"3、", name:"国外之旅", link:"textbook/6.3.html"},
				{num:"4、", name:"客语歌曲", link:"textbook/6.4.html"},
				{num:"5、", name:"我爱客语", link:"textbook/6.5.html"}
			]
		}
	]};

	//调用模板函数
	template.config("escape", false);
	var htmll = template('mulu', data)
	$(".cate_list").append(htmll);

});